package com.ruoyi.warehousemanager.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * ${subTable.functionName}对象 j_warehouse
 * 
 * @author zyx
 * @date 2023-05-15
 */
@TableName(value = "j_warehouse")
public class Warehouse
{
    private static final long serialVersionUID = 1L;

    /** 仓库id */
    @TableField(value = "warehouse_id")
    private Long warehouseId;

    /** 仓库名称 */
    @TableField(value = "warehouse_name")
    @Excel(name = "仓库名称")
    private String warehouseName;

    /** 管理员id */
    @TableField(value = "user_id")
    @Excel(name = "管理员id")
    private Long userId;

    /** 仓库地址 */
    @TableField(value = "warehouse_address")
    @Excel(name = "仓库地址")
    private String warehouseAddress;

    /** 备注 */
    @TableField(value = "warehouse_remark")
    @Excel(name = "备注")
    private String warehouseRemark;

    public void setWarehouseId(Long warehouseId)
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId() 
    {
        return warehouseId;
    }
    public void setWarehouseName(String warehouseName) 
    {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseName() 
    {
        return warehouseName;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setWarehouseAddress(String warehouseAddress) 
    {
        this.warehouseAddress = warehouseAddress;
    }

    public String getWarehouseAddress() 
    {
        return warehouseAddress;
    }
    public void setWarehouseRemark(String warehouseRemark) 
    {
        this.warehouseRemark = warehouseRemark;
    }

    public String getWarehouseRemark() 
    {
        return warehouseRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("warehouseId", getWarehouseId())
            .append("warehouseName", getWarehouseName())
            .append("userId", getUserId())
            .append("warehouseAddress", getWarehouseAddress())
            .append("warehouseRemark", getWarehouseRemark())
            .toString();
    }
}
